package com.zxw.user.service;

import com.zxw.common.web.annotation.InitUpdateInfo;
import com.zxw.user.domain.dto.DeptDTO;
import com.zxw.user.domain.dto.DeptSelectDTO;
import com.zxw.user.domain.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-03-10
 */
public interface DeptService extends IService<Dept> {

    List<DeptDTO> getAllByCompanyIdList(Dept dept);

    List<DeptSelectDTO> getDeptSelectList();

    Dept add(Dept dept);

    void delete(String ids);

    void update(Dept dept);

}
